package com.lry.basic.redis;

import redis.clients.jedis.Jedis;

public class RedisProducer {

    //队列lpush+rpop ，栈，阻塞队列lpush+brpop，阻塞栈
    public static boolean send(Jedis jedis ,String topic,String obj){

        jedis.lpush(topic,obj);
        return true;
    }

}
